<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
	</body>
	<script type="text/javascript">	
		var num=window.prompt();
			for(var i=num;i>0;i--){
			for(var n=0;n<i;n++){
			document.write('&nbsp;');
		}
			for(var j=0;j<=num-i;j++){
		document.write('*');
		if (j>0){
		document.write('*');
			}
		}
		document.write('<br/>');
	}
	</script>
</html>
